package com.example.wordlistdemo.entity;

import com.alibaba.fastjson2.annotation.JSONField;

import java.util.List;

public class BlngSentsPart {
    @JSONField(name ="sentence-pair")
    private List<SentencePair> pairList;

    public List<SentencePair> getPairList() {
        return pairList;
    }

    public void setPairList(List<SentencePair> pairList) {
        this.pairList = pairList;
    }

    public static class SentencePair{
        @JSONField(name ="sentence")
        private String sentence;

        @JSONField(name ="sentence-eng")
        private String sentenceEng;

        @JSONField(name ="sentence-translation")
        private String sentenceTranslation;

        @JSONField(name ="source")
        private String source;

        public String getSentence() {
            return sentence;
        }

        public void setSentence(String sentence) {
            this.sentence = sentence;
        }

        public String getSentenceEng() {
            return sentenceEng;
        }

        public void setSentenceEng(String sentenceEng) {
            this.sentenceEng = sentenceEng;
        }

        public String getSentenceTranslation() {
            return sentenceTranslation;
        }

        public void setSentenceTranslation(String sentenceTranslation) {
            this.sentenceTranslation = sentenceTranslation;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }
    }
}
